<?php
/**
 * Joomla! 1.5 component ArticleCashRewards
 *
 * @version $Id: view.html.php 2009-05-10 01:47:01 svn $
 * @author Maverick
 * @package Joomla
 * @subpackage components.views.topearners
 * @link http://joomladev.boddunan.com
 * @license GNU/GPL
 *
 * Review and approve the articles and assign points and cash rewards.
 * Users can see their articles and the points/cash rewards assigned in the front-end module.
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

jimport( 'joomla.application.component.view');

/**
 * HTML View class for the ArticleCashRewards component
 */
class ArticleCashRewardsViewTopEarners extends JView {
	
    function display($tpl = null) {
		global $acr_config;
		$params 	= JComponentHelper::getParams('com_articlecashrewards');
		$result =& $this->get('Data');
		$pagination =& $this->get('Pagination');

		$this->assignRef( 'rows', $result );
		$this->assignRef( 'pagination', $pagination);
		$this->assignRef( 'params', $params );
		$this->assignRef( 'acr_config', $acr_config );
			
   		parent::display($tpl);
	}
}
?>